<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-username" class="form-control" name="row[username]" type="text" value="{$row.username|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_card" class="form-control" name="row[id_card]" type="text" value="{$row.id_card|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Front_id_card_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-front_id_card_img" data-rule="" class="form-control" size="50" name="row[front_id_card_img]" type="text" value="{$row.front_id_card_img|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-front_id_card_img" class="btn btn-danger faupload" data-input-id="c-front_id_card_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-front_id_card_img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-front_id_card_img" class="btn btn-primary fachoose" data-input-id="c-front_id_card_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-front_id_card_img"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-front_id_card_img"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Backend_id_card_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-backend_id_card_img" data-rule="" class="form-control" size="50" name="row[backend_id_card_img]" type="text" value="{$row.backend_id_card_img|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-backend_id_card_img" class="btn btn-danger faupload" data-input-id="c-backend_id_card_img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-backend_id_card_img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-backend_id_card_img" class="btn btn-primary fachoose" data-input-id="c-backend_id_card_img" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-front_id_card_img"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-backend_id_card_img"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_number" class="form-control" name="row[contact_number]" type="text" value="{$row.contact_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Standby_telephone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-standby_telephone" class="form-control" name="row[standby_telephone]" type="text" value="{$row.standby_telephone|htmlentities}">
        </div>
    </div>
<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">用户:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-uid" data-rule="required" data-source="user/user/index" data-field = "username" data-order-by="id"  class="form-control selectpage" name="row[uid]" type="text" value="{$row.uid}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
